package com.dys.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

/**
 * @Author: 疾风
 * @ClassName: Course
 * @Description: 课程实体
 * @CreateDate: 2024/12/10
 * @Version: v1.0.0
 */
@ExcelTarget(value = "course")
public class Course {
    @Excel(name = "课程编号")
    private Long cid;
    @Excel(name = "订单编号")
    private long orderNo;
    @Excel(name = "课程名称")
    private String cname;
    @Excel(name = "简介")
    private String brief;
    @Excel(name = "价格")
    private double price;

    public Course() {
    }

    public Course(long cid, long orderNo, String cname, String brief, double price) {
        this.cid = cid;
        this.orderNo = orderNo;
        this.cname = cname;
        this.brief = brief;
        this.price = price;
    }

    public long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public long getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(long orderNo) {
        this.orderNo = orderNo;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
